<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:DataGrid id="dd" runat="server" AutoGenerateColumns="False" OnEditCommand="dd_RowEditing" OnUpdateCommand="dd_RowUpdate" OnCancelCommand="dd_RowCancel" Height="118px" Width="431px" >
        <Columns>
            <asp:BoundColumn DataField="ProductId" HeaderText="Product Id" ReadOnly="True"></asp:BoundColumn>
            <asp:BoundColumn DataField="OriginalPrice" HeaderText="Original Price" ReadOnly="true" >
                        <%--<ItemStyle Font-Bold="True" Font-Italic="False" Font-Names="Verdana" Font-Overline="False"
                            Font-Size="8pt" Font-Strikeout="False" Font-Underline="False" />--%>
            </asp:BoundColumn>
            <asp:BoundColumn DataField="DiscountedPrice" HeaderText="Discounted Price" ReadOnly="true" >
                <%--<ItemStyle Font-Bold="True" Font-Italic="False" Font-Names="Verdana" Font-Overline="False"
                    Font-Size="8pt" Font-Strikeout="False" Font-Underline="False" />--%>
            </asp:BoundColumn>
            <asp:TemplateColumn HeaderText="Quantity">
                <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "Quantity")%></ItemTemplate>
                 <EditItemTemplate>
                    <asp:TextBox ID="tt" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Quantity") %>'></asp:TextBox>
                </EditItemTemplate>
            </asp:TemplateColumn>
             <asp:EditCommandColumn CancelText="Cancel" EditText="Edit" HeaderText="edit" UpdateText="Update">
            </asp:EditCommandColumn>
            <asp:EditCommandColumn CancelText="Cancel" EditText="Edit" HeaderText="Update" UpdateText="Update">
            </asp:EditCommandColumn>
        </Columns>
    
    </asp:DataGrid>
    </div>
    </form>
</body>
</html>
